package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 原料管理对象 smes_material
 *
 * @author simpsense
 * @date 2020-11-27
 */
public class SmesMaterial extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 原料编号 */
    @Excel(name = "原料编号")
    private String materialNo;

    /** 原料名称 */
    @Excel(name = "原料名称")
    private String materialName;

    /** 快捷码 */
    @Excel(name = "快捷码")
    private String shortcutCode;

    /** 原料类别 */
    @Excel(name = "原料类别")
    private Long materialCategoryId;


    public String getMaterialCategoryName() {
        return materialCategoryName;
    }

    public void setMaterialCategoryName(String materialCategoryName) {
        this.materialCategoryName = materialCategoryName;
    }

    /** 原料类别 */
    @Excel(name = "原料类别名")
    private String materialCategoryName;

    public String getMaterialSpec() {
        return materialSpec;
    }

    public void setMaterialSpec(String materialSpec) {
        this.materialSpec = materialSpec;
    }

    /** 原料规格 */
    @Excel(name = "原料规格")
    private String materialSpec;

    /** 单价 */
    @Excel(name = "单价")
    private Long unitPrice;

    /** 原料单位 */
    @Excel(name = "原料单位")
    private String materialUnit;

    /** 物料整箱数量 */
    @Excel(name = "物料整箱数量")
    private Long qtyPerPkg;

    /** 检验审核码 */
    private String materialCheckNo;

    /** 生产审核码 */
    private String produceCheckNo;

    /** 管理方式 */
    @Excel(name = "管理方式")
    private String manageType;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String deleteFlag;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setMaterialNo(String materialNo)
    {
        this.materialNo = materialNo;
    }

    public String getMaterialNo()
    {
        return materialNo;
    }
    public void setMaterialName(String materialName)
    {
        this.materialName = materialName;
    }

    public String getMaterialName()
    {
        return materialName;
    }
    public void setShortcutCode(String shortcutCode)
    {
        this.shortcutCode = shortcutCode;
    }

    public String getShortcutCode()
    {
        return shortcutCode;
    }
    public void setMaterialCategoryId(Long materialCategoryId)
    {
        this.materialCategoryId = materialCategoryId;
    }

    public Long getMaterialCategoryId()
    {
        return materialCategoryId;
    }
    public void setUnitPrice(Long unitPrice)
    {
        this.unitPrice = unitPrice;
    }

    public Long getUnitPrice()
    {
        return unitPrice;
    }
    public void setMaterialUnit(String materialUnit)
    {
        this.materialUnit = materialUnit;
    }

    public String getMaterialUnit()
    {
        return materialUnit;
    }
    public void setQtyPerPkg(Long qtyPerPkg)
    {
        this.qtyPerPkg = qtyPerPkg;
    }

    public Long getQtyPerPkg()
    {
        return qtyPerPkg;
    }
    public void setMaterialCheckNo(String materialCheckNo)
    {
        this.materialCheckNo = materialCheckNo;
    }

    public String getMaterialCheckNo()
    {
        return materialCheckNo;
    }
    public void setProduceCheckNo(String produceCheckNo)
    {
        this.produceCheckNo = produceCheckNo;
    }

    public String getProduceCheckNo()
    {
        return produceCheckNo;
    }
    public void setManageType(String manageType)
    {
        this.manageType = manageType;
    }

    public String getManageType()
    {
        return manageType;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("materialNo", getMaterialNo())
                .append("materialName", getMaterialName())
                .append("shortcutCode", getShortcutCode())
                .append("materialCategoryId", getMaterialCategoryId())
                .append("unitPrice", getUnitPrice())
                .append("materialUnit", getMaterialUnit())
                .append("qtyPerPkg", getQtyPerPkg())
                .append("materialCheckNo", getMaterialCheckNo())
                .append("produceCheckNo", getProduceCheckNo())
                .append("manageType", getManageType())
                .append("deleteFlag", getDeleteFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}